package com.aivin.firplugin.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 *  APP列表
 */
public class Apps {
    private int apps_count;
    private int page_size;
    private List<ItemsBean> items;

    public int getApps_count() {
        return apps_count;
    }

    public void setApps_count(int apps_count) {
        this.apps_count = apps_count;
    }

    public int getPage_size() {
        return page_size;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        private String id;
        private String user_id;
        private String org_id;
        private String type;
        private String name;
        @SerializedName("short")
        private String shortX;
        private String bundle_id;
        private int genre_id;
        private boolean is_opened;
        private String download_domain;
        private boolean download_domain_https_ready;
        private String web_template;
        private String custom_market_url;
        private boolean has_combo;
        private int created_at;
        private int updated_at;
        private int expired_at;
        private int stale_at;
        private String icon_url;
        private MasterReleaseBean master_release;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getOrg_id() {
            return org_id;
        }

        public void setOrg_id(String org_id) {
            this.org_id = org_id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getShortX() {
            return shortX;
        }

        public void setShortX(String shortX) {
            this.shortX = shortX;
        }

        public String getBundle_id() {
            return bundle_id;
        }

        public void setBundle_id(String bundle_id) {
            this.bundle_id = bundle_id;
        }

        public int getGenre_id() {
            return genre_id;
        }

        public void setGenre_id(int genre_id) {
            this.genre_id = genre_id;
        }

        public boolean isIs_opened() {
            return is_opened;
        }

        public void setIs_opened(boolean is_opened) {
            this.is_opened = is_opened;
        }

        public String getDownload_domain() {
            return download_domain;
        }

        public void setDownload_domain(String download_domain) {
            this.download_domain = download_domain;
        }

        public boolean isDownload_domain_https_ready() {
            return download_domain_https_ready;
        }

        public void setDownload_domain_https_ready(boolean download_domain_https_ready) {
            this.download_domain_https_ready = download_domain_https_ready;
        }

        public String getWeb_template() {
            return web_template;
        }

        public void setWeb_template(String web_template) {
            this.web_template = web_template;
        }

        public String getCustom_market_url() {
            return custom_market_url;
        }

        public void setCustom_market_url(String custom_market_url) {
            this.custom_market_url = custom_market_url;
        }

        public boolean isHas_combo() {
            return has_combo;
        }

        public void setHas_combo(boolean has_combo) {
            this.has_combo = has_combo;
        }

        public int getCreated_at() {
            return created_at;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public int getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(int updated_at) {
            this.updated_at = updated_at;
        }

        public int getExpired_at() {
            return expired_at;
        }

        public void setExpired_at(int expired_at) {
            this.expired_at = expired_at;
        }

        public int getStale_at() {
            return stale_at;
        }

        public void setStale_at(int stale_at) {
            this.stale_at = stale_at;
        }

        public String getIcon_url() {
            return icon_url;
        }

        public void setIcon_url(String icon_url) {
            this.icon_url = icon_url;
        }

        public MasterReleaseBean getMaster_release() {
            return master_release;
        }

        public void setMaster_release(MasterReleaseBean master_release) {
            this.master_release = master_release;
        }

        public static class MasterReleaseBean {
            private String version;
            private String build;
            private String release_type;
            private Object distribution_name;
            private Object supported_platform;
            private int created_at;

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getBuild() {
                return build;
            }

            public void setBuild(String build) {
                this.build = build;
            }

            public String getRelease_type() {
                return release_type;
            }

            public void setRelease_type(String release_type) {
                this.release_type = release_type;
            }

            public Object getDistribution_name() {
                return distribution_name;
            }

            public void setDistribution_name(Object distribution_name) {
                this.distribution_name = distribution_name;
            }

            public Object getSupported_platform() {
                return supported_platform;
            }

            public void setSupported_platform(Object supported_platform) {
                this.supported_platform = supported_platform;
            }

            public int getCreated_at() {
                return created_at;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }
        }
    }
}
